#ifndef THEME_H
#define THEME_H

#include "SDL.h"
#include "SDL_ttf.h"
#include <string>

class Theme 
{
public:
	Theme();
	~Theme();
	int getGameBoardBG() const;
	int getThemeindex() const;
	SDL_Color getCountdownRect() const;
	SDL_Color getCountdownText() const;
	SDL_Color getInstructionColor() const;
	SDL_Color getGameBoardColor() const;
	SDL_Color getRestartColor() const;
	SDL_Color getRestartOriColor() const;

	void setTheme(int index);

	bool readTheme();
	bool writeTheme();
	
private:
	int Themeindex = 1;
	int GameBoardBG;
	SDL_Color InstructionColor;

	SDL_Color CountdownRect;
	SDL_Color CountdownText;
	SDL_Color GameBoardPoints;
	SDL_Color GameBoardColor;
	SDL_Color RestartColor;
	SDL_Color RestartOriColor;

	TTF_Font* font = NULL;
	const std::string RecordThemeFilePath = "./data/theme/theme.dat";
};
#endif